package org.car.world.service.impl;

import java.util.List;

import org.car.world.core.entily.ProblemTable;
import org.car.world.core.mapper.ProblemTableMapper;
import org.car.world.service.ProblemTableService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class ProblemServiceImpl implements ProblemTableService {


    @Autowired
    ProblemTableMapper ProblemTableM;


    @Override
    public int insert(ProblemTable pro) {
        return ProblemTableM.insert(pro);
    }

    @Override
    public List<ProblemTable> selectByList(String userid) {
        return ProblemTableM.selectByList(userid);
    }

}
